package com.lottery.common.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lottery.common.entity.FocusMemberRecord;
import com.lottery.common.dao.FocusMemberRecordMapper;
import com.lottery.common.entity.MemberInfo;
import com.lottery.common.service.FocusMemberRecordService;
import org.nutz.lang.util.NutMap;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 * 会员关注表 服务实现类
 * </p>
 *
 * @author jobob
 * @since 2019-10-18
 */
@Service
public class FocusMemberRecordServiceImpl extends ServiceImpl<FocusMemberRecordMapper, FocusMemberRecord> implements FocusMemberRecordService {
    @Resource
    private FocusMemberRecordMapper focusMemberRecordMapper;
    @Override
    public List<MemberInfo> selectFocuseMembers(FocusMemberRecord focusMemberRecord) {
        return focusMemberRecordMapper.selectFocuseMembers(focusMemberRecord);
    }

    @Override
    public List<NutMap> selectFocuseList(NutMap nutMap) {
        return focusMemberRecordMapper.selectFocuseList(nutMap);
    }
}
